package cn.simple.base.component;

import javax.swing.*;
import java.awt.*;

/**
 * 基础窗口
 */
public class BaseJFrame extends JFrame {

    public BaseJFrame(String title) throws HeadlessException {
        super(title);
        setSize(600,500);
        setLocationRelativeTo(null);
        setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
    }
}
